package app

import (
	"bee/pkg/logging"
	"github.com/astaxie/beego/validation"
)

// MarkErrors logs error logs
func MarkErrors(errors []*validation.Error, traceId string) {
	for _, err := range errors {
		logging.ZapLogger.Infow("【Validation】", err.Key, err.Message, "traceId", traceId)
	}

	return
}